WeglotWP\Actions\Front\Translate_Page_Weglot C

Total Complexity 124
Dependencies 13
Dependents 0
Total lines 767
Lines of code 487
Logical lines of code 271
Comment lines 228
Methods 16
Properties 8

Methods 16

Method Rating Maintainability Complexity Lines of code
weglot_dynamics()
B
37 17 77
weglot_init()
A
42 15 49
enqueue_switcher_templatefile()
A
40 13 60
hooks()
A
50 12 26
check_need_to_redirect()
A
55 12 18
weglot_custom_settings()
A
42 9 50
prepare_request_uri()
A
46 9 38
manage_trailing_slash()
A
45 8 43
no_translate_action_ajax()
A
48 7 34
get_template_hash()
S
52 7 24
check_custom_redirect()
S
57 5 15
weglot_href_lang()
S
60 4 14
switcher_default_options()
S
55 2 20
prepare_rtl_language()
S
69 2 7
__construct()
S
65 1 9
ends_with_slash()
S
78 1 3